package com.youlai.system.model.query;

import com.youlai.system.common.base.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 考试名单分页查询实体
 */
@Schema(description ="考试名单分页查询对象")
@Data
public class ExamPageQuery extends BasePageQuery {

    @Schema(description="关键字(培训司机工号/姓名/手机号)")
    private String keywords;

    @Schema(description = "等级")
    private Integer lastDegree;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "故障科目ID")
    private Long courseId;

    @Schema(description = "部门ID")
    private Long deptId;

    @Schema(description = "人员批次")
    private Long sourceId;

    @Schema(description="创建时间-开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String startTime;

    @Schema(description="创建时间-结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String endTime;
}
